﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="deliveryTemplateList.aspx.cs" Inherits="WebSite.admin.product.deliveryTemplateList" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
    <title>福利点点通 </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />
       <script src="../js/common.js" type="text/javascript"></script>
        <style type="text/css">
        .x-grid3-row-table .expander
        {
            padding: 5px;
        }
        .x-grid3-row-table .expander p
        {
            padding: 5px 5px 5px 55px;
            text-align:left;
            
        }
        .x-grid3-row-table .expander strong
        {
            font-weight: bold;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">

     <ext:PageManager ID="PageManager1" runat="server" />

           <ext:SimpleForm ID="extForm1" runat="server" BodyPadding="5px"   
            EnableBackgroundColor="false" Title="配送模板管理"  ShowHeader="true" >
              <Items>
 
               <ext:Button ID="btnDeliveryTemplateAdd" runat="server" EnablePostBack="false" Text="添加配送模板">  </ext:Button>
                

           </Items>
     
             </ext:SimpleForm>

     <ext:Grid ID="Grid1" Title="配送模板列表" PageSize="50" ShowBorder="false"  
         CssClass="x-form-item"  Height="400px"  AllowPaging="false"
                      ShowHeader="False" runat="server" 
         EnableCheckBoxSelect="false"   AllowSorting="true"    IsDatabasePaging="false" 
                        DataKeyNames="id" OnSort="Grid1_Sort" 
         EnableRowNumber="True" onrowdatabound="Grid1_RowDataBound">
        <Columns>
            
               <ext:BoundField Width="200px" DataField="TemplateName" SortField="TemplateName" DataFormatString="{0}" HeaderText="模板名称" />
               <ext:BoundField Width="200px" DataField="DeliveryCost" SortField="DeliveryCost" DataFormatString="{0}" HeaderText="费用名称" />
                <ext:BoundField Width="400px" DataField=""  SortField=""  DataFormatString="{0}" HeaderText="地区列表" />
             <ext:TemplateField Width="80px" HeaderText="操作">
                <ItemTemplate>  
                   <a href="deliveryTemplateList.aspx?action=del&amp;id=<%# Eval("id") %>" title="移除">[删除]</a>
                </ItemTemplate>
            </ext:TemplateField>
          <ext:WindowField Width="60px" WindowID="Window1" HeaderText="编辑" Text="编辑"   ToolTip="编辑" DataIFrameUrlFields="id"
                                DataIFrameUrlFormatString="deliveryTemplate.aspx?id={0}" Title="编辑"
                                IFrameUrl="~/alert.aspx" />
           <ext:WindowField Width="60px" WindowID="Window1" HeaderText="地区设置"  Text="地区设置"   ToolTip="地区设置" DataIFrameUrlFields="id"
                                DataIFrameUrlFormatString="deliveryRegion.aspx?id={0}" Title="地区设置"
                                IFrameUrl="~/alert.aspx" />

        </Columns>
    </ext:Grid>

      <ext:Window ID="Window1" Title="弹出窗体" Popup="false" EnableIFrame="true" IFrameUrl="about:blank"
        Target="Parent" runat="server"   CloseAction="HidePostBack" IsModal="true" Width="600px"
        EnableConfirmOnClose="true"  OnClose="Window1_Close" Height="500px">
    </ext:Window>



    </form>
</body>
</html>

